\section{ec\+\_\+slave\+\_\+info\+\_\+t Struct Reference}
\label{structec__slave__info__t}\index{ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}}


Slave information.  


\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
uint16\+\_\+t \textbf{ position}
\begin{DoxyCompactList}\small\item\em Offset of the slave in the ring. \end{DoxyCompactList}\item 
uint32\+\_\+t \textbf{ vendor\+\_\+id}
\begin{DoxyCompactList}\small\item\em Vendor-\/\+ID stored on the slave. \end{DoxyCompactList}\item 
uint32\+\_\+t \textbf{ product\+\_\+code}
\begin{DoxyCompactList}\small\item\em Product-\/\+Code stored on the slave. \end{DoxyCompactList}\item 
uint32\+\_\+t \textbf{ revision\+\_\+number}
\begin{DoxyCompactList}\small\item\em Revision-\/\+Number stored on the slave. \end{DoxyCompactList}\item 
uint32\+\_\+t \textbf{ serial\+\_\+number}
\begin{DoxyCompactList}\small\item\em Serial-\/\+Number stored on the slave. \end{DoxyCompactList}\item 
uint16\+\_\+t \textbf{ alias}
\begin{DoxyCompactList}\small\item\em The slaves alias if not equal to 0. \end{DoxyCompactList}\item 
int16\+\_\+t \textbf{ current\+\_\+on\+\_\+ebus}
\begin{DoxyCompactList}\small\item\em Used current in mA. \end{DoxyCompactList}\item 
\begin{tabbing}
xx\=xx\=xx\=xx\=xx\=xx\=xx\=xx\=xx\=\kill
struct \{\\
\>\textbf{ ec\_slave\_port\_desc\_t} \textbf{ desc}\\
\>\>{\em Physical port type. }\\
\>\textbf{ ec\_slave\_port\_link\_t} \textbf{ link}\\
\>\>{\em Port link state. }\\
\>uint32\_t \textbf{ receive\_time}\\
\>\>{\em Receive time on DC transmission delay measurement. }\\
\>uint16\_t \textbf{ next\_slave}\\
\>\>{\em Ring position of next DC slave on that port. }\\
\>uint32\_t \textbf{ delay\_to\_next\_dc}\\
\>\>{\em Delay [ns] to next DC slave. }\\
\} \textbf{ ports} [\textbf{ EC\_MAX\_PORTS}]\\

\end{tabbing}\begin{DoxyCompactList}\small\item\em Port information. \end{DoxyCompactList}\item 
uint8\+\_\+t \textbf{ al\+\_\+state}
\begin{DoxyCompactList}\small\item\em Current state of the slave. \end{DoxyCompactList}\item 
uint8\+\_\+t \textbf{ error\+\_\+flag}
\begin{DoxyCompactList}\small\item\em Error flag for that slave. \end{DoxyCompactList}\item 
uint8\+\_\+t \textbf{ sync\+\_\+count}
\begin{DoxyCompactList}\small\item\em Number of sync managers. \end{DoxyCompactList}\item 
uint16\+\_\+t \textbf{ sdo\+\_\+count}
\begin{DoxyCompactList}\small\item\em Number of S\+D\+Os. \end{DoxyCompactList}\item 
char \textbf{ name} [\textbf{ E\+C\+\_\+\+M\+A\+X\+\_\+\+S\+T\+R\+I\+N\+G\+\_\+\+L\+E\+N\+G\+TH}]
\begin{DoxyCompactList}\small\item\em Name of the slave. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Slave information. 

This is used as an output parameter of \doxyref{ecrt\+\_\+master\+\_\+get\+\_\+slave()}{p.}{group__ApplicationInterface_ga8a1a9398f7c1e17e4da8243fe03a7a80}.

\begin{DoxySeeAlso}{See also}
\doxyref{ecrt\+\_\+master\+\_\+get\+\_\+slave()}{p.}{group__ApplicationInterface_ga8a1a9398f7c1e17e4da8243fe03a7a80}. 
\end{DoxySeeAlso}


Definition at line 364 of file ecrt.\+h.



\subsection{Field Documentation}
\mbox{\label{structec__slave__info__t_a6001f55881e2cd363a4c0749c0096cd6}} 
\index{ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}!position@{position}}
\index{position@{position}!ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}}
\subsubsection{position}
{\footnotesize\ttfamily uint16\+\_\+t ec\+\_\+slave\+\_\+info\+\_\+t\+::position}



Offset of the slave in the ring. 



Definition at line 365 of file ecrt.\+h.

\mbox{\label{structec__slave__info__t_aa944602e60e4735b59b51a351e673205}} 
\index{ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}!vendor\+\_\+id@{vendor\+\_\+id}}
\index{vendor\+\_\+id@{vendor\+\_\+id}!ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}}
\subsubsection{vendor\+\_\+id}
{\footnotesize\ttfamily uint32\+\_\+t ec\+\_\+slave\+\_\+info\+\_\+t\+::vendor\+\_\+id}



Vendor-\/\+ID stored on the slave. 



Definition at line 366 of file ecrt.\+h.

\mbox{\label{structec__slave__info__t_a7cfe4847a1d2108726e2f811b17ae9ff}} 
\index{ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}!product\+\_\+code@{product\+\_\+code}}
\index{product\+\_\+code@{product\+\_\+code}!ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}}
\subsubsection{product\+\_\+code}
{\footnotesize\ttfamily uint32\+\_\+t ec\+\_\+slave\+\_\+info\+\_\+t\+::product\+\_\+code}



Product-\/\+Code stored on the slave. 



Definition at line 367 of file ecrt.\+h.

\mbox{\label{structec__slave__info__t_a228e2613b426dd2ec3796788aa0c5141}} 
\index{ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}!revision\+\_\+number@{revision\+\_\+number}}
\index{revision\+\_\+number@{revision\+\_\+number}!ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}}
\subsubsection{revision\+\_\+number}
{\footnotesize\ttfamily uint32\+\_\+t ec\+\_\+slave\+\_\+info\+\_\+t\+::revision\+\_\+number}



Revision-\/\+Number stored on the slave. 



Definition at line 368 of file ecrt.\+h.

\mbox{\label{structec__slave__info__t_abff228c0f3c4b869ba2624937b1ff89a}} 
\index{ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}!serial\+\_\+number@{serial\+\_\+number}}
\index{serial\+\_\+number@{serial\+\_\+number}!ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}}
\subsubsection{serial\+\_\+number}
{\footnotesize\ttfamily uint32\+\_\+t ec\+\_\+slave\+\_\+info\+\_\+t\+::serial\+\_\+number}



Serial-\/\+Number stored on the slave. 



Definition at line 369 of file ecrt.\+h.

\mbox{\label{structec__slave__info__t_aaebdddfdbaa1be6b70fbfc455fe7f8dd}} 
\index{ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}!alias@{alias}}
\index{alias@{alias}!ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}}
\subsubsection{alias}
{\footnotesize\ttfamily uint16\+\_\+t ec\+\_\+slave\+\_\+info\+\_\+t\+::alias}



The slaves alias if not equal to 0. 



Definition at line 370 of file ecrt.\+h.

\mbox{\label{structec__slave__info__t_a48cbaae771c8dc5c818caea3db35ec52}} 
\index{ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}!current\+\_\+on\+\_\+ebus@{current\+\_\+on\+\_\+ebus}}
\index{current\+\_\+on\+\_\+ebus@{current\+\_\+on\+\_\+ebus}!ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}}
\subsubsection{current\+\_\+on\+\_\+ebus}
{\footnotesize\ttfamily int16\+\_\+t ec\+\_\+slave\+\_\+info\+\_\+t\+::current\+\_\+on\+\_\+ebus}



Used current in mA. 



Definition at line 371 of file ecrt.\+h.

\mbox{\label{structec__slave__info__t_ac48f62ba6858bbbf0c0238858667e2d2}} 
\index{ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}!desc@{desc}}
\index{desc@{desc}!ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}}
\subsubsection{desc}
{\footnotesize\ttfamily \textbf{ ec\+\_\+slave\+\_\+port\+\_\+desc\+\_\+t} ec\+\_\+slave\+\_\+info\+\_\+t\+::desc}



Physical port type. 



Definition at line 373 of file ecrt.\+h.

\mbox{\label{structec__slave__info__t_a9d7a2d7fa4ff23cdf6c8c842f484e904}} 
\index{ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}!link@{link}}
\index{link@{link}!ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}}
\subsubsection{link}
{\footnotesize\ttfamily \textbf{ ec\+\_\+slave\+\_\+port\+\_\+link\+\_\+t} ec\+\_\+slave\+\_\+info\+\_\+t\+::link}



Port link state. 



Definition at line 374 of file ecrt.\+h.

\mbox{\label{structec__slave__info__t_aedf2a04fab36cffaff880d42a3776c35}} 
\index{ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}!receive\+\_\+time@{receive\+\_\+time}}
\index{receive\+\_\+time@{receive\+\_\+time}!ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}}
\subsubsection{receive\+\_\+time}
{\footnotesize\ttfamily uint32\+\_\+t ec\+\_\+slave\+\_\+info\+\_\+t\+::receive\+\_\+time}



Receive time on DC transmission delay measurement. 



Definition at line 375 of file ecrt.\+h.

\mbox{\label{structec__slave__info__t_a613d9a5dfd21667e9b4f21ed435b760a}} 
\index{ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}!next\+\_\+slave@{next\+\_\+slave}}
\index{next\+\_\+slave@{next\+\_\+slave}!ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}}
\subsubsection{next\+\_\+slave}
{\footnotesize\ttfamily uint16\+\_\+t ec\+\_\+slave\+\_\+info\+\_\+t\+::next\+\_\+slave}



Ring position of next DC slave on that port. 



Definition at line 377 of file ecrt.\+h.

\mbox{\label{structec__slave__info__t_a1ba1f3946bd5c56275f929bb0bd0ba0c}} 
\index{ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}!delay\+\_\+to\+\_\+next\+\_\+dc@{delay\+\_\+to\+\_\+next\+\_\+dc}}
\index{delay\+\_\+to\+\_\+next\+\_\+dc@{delay\+\_\+to\+\_\+next\+\_\+dc}!ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}}
\subsubsection{delay\+\_\+to\+\_\+next\+\_\+dc}
{\footnotesize\ttfamily uint32\+\_\+t ec\+\_\+slave\+\_\+info\+\_\+t\+::delay\+\_\+to\+\_\+next\+\_\+dc}



Delay [ns] to next DC slave. 



Definition at line 379 of file ecrt.\+h.

\mbox{\label{structec__slave__info__t_ab5f40c5593214eb0b279aedbf7c91ddb}} 
\index{ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}!ports@{ports}}
\index{ports@{ports}!ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}}
\subsubsection{ports}
{\footnotesize\ttfamily struct \{ ... \}   ec\+\_\+slave\+\_\+info\+\_\+t\+::ports[\textbf{ E\+C\+\_\+\+M\+A\+X\+\_\+\+P\+O\+R\+TS}]}



Port information. 

\mbox{\label{structec__slave__info__t_a769449958ad04e2a7eb6c27d0052d1cf}} 
\index{ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}!al\+\_\+state@{al\+\_\+state}}
\index{al\+\_\+state@{al\+\_\+state}!ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}}
\subsubsection{al\+\_\+state}
{\footnotesize\ttfamily uint8\+\_\+t ec\+\_\+slave\+\_\+info\+\_\+t\+::al\+\_\+state}



Current state of the slave. 



Definition at line 381 of file ecrt.\+h.

\mbox{\label{structec__slave__info__t_a37c3c84b314c3d8636fb9da670721d33}} 
\index{ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}!error\+\_\+flag@{error\+\_\+flag}}
\index{error\+\_\+flag@{error\+\_\+flag}!ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}}
\subsubsection{error\+\_\+flag}
{\footnotesize\ttfamily uint8\+\_\+t ec\+\_\+slave\+\_\+info\+\_\+t\+::error\+\_\+flag}



Error flag for that slave. 



Definition at line 382 of file ecrt.\+h.

\mbox{\label{structec__slave__info__t_aed1ca44de274226ae39ba19e4243a907}} 
\index{ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}!sync\+\_\+count@{sync\+\_\+count}}
\index{sync\+\_\+count@{sync\+\_\+count}!ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}}
\subsubsection{sync\+\_\+count}
{\footnotesize\ttfamily uint8\+\_\+t ec\+\_\+slave\+\_\+info\+\_\+t\+::sync\+\_\+count}



Number of sync managers. 



Definition at line 383 of file ecrt.\+h.

\mbox{\label{structec__slave__info__t_ad5b269e24db07fd6721d4df031515bc0}} 
\index{ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}!sdo\+\_\+count@{sdo\+\_\+count}}
\index{sdo\+\_\+count@{sdo\+\_\+count}!ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}}
\subsubsection{sdo\+\_\+count}
{\footnotesize\ttfamily uint16\+\_\+t ec\+\_\+slave\+\_\+info\+\_\+t\+::sdo\+\_\+count}



Number of S\+D\+Os. 



Definition at line 384 of file ecrt.\+h.

\mbox{\label{structec__slave__info__t_ad1ff91d12fdc13b813ab69b657a7249c}} 
\index{ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}!name@{name}}
\index{name@{name}!ec\+\_\+slave\+\_\+info\+\_\+t@{ec\+\_\+slave\+\_\+info\+\_\+t}}
\subsubsection{name}
{\footnotesize\ttfamily char ec\+\_\+slave\+\_\+info\+\_\+t\+::name[\textbf{ E\+C\+\_\+\+M\+A\+X\+\_\+\+S\+T\+R\+I\+N\+G\+\_\+\+L\+E\+N\+G\+TH}]}



Name of the slave. 



Definition at line 385 of file ecrt.\+h.

